/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "~@app/uiTheme/less/color-schema.less";

:global { // DX-11429 TODO reafactor component to use css modules instead fo global classes
  .helpSection {
    border-radius: 4px;
    background: @secondary-blue;
    width: 100%;
    min-height: 197px;
    margin-right: 10px;
    margin-bottom: 10px;
    @button-width: 50%;
    @button-margin: 10px;
    padding-top: 8px;
    padding-left: 8px;
    background-image: url(../../../../components/Art/GnarlySeaCloud.svg);
    background-repeat: no-repeat;
    background-size: 39% 61%;
    background-position: right 8px top 16px;
    h2{
      padding: 8px;
      font-size: 14px;
      line-height: 19px;
      font-weight: 600;
    }

    &__buttons{
      display: flex;
      flex-wrap: wrap;
    }
    button {
      line-height: 12px !important;
      height: auto !important; // todo: Remove !important. Find out where the inline styles are coming from
      padding: 5px;
      margin: 8px @button-margin 4px 0 !important; // todo: SimpleButton needs to get off of inline styles
      min-height: 32px;
      vertical-align: text-bottom; // workaround spinner button not aligning
      width: 126px !important;

      &:last-of-type {
        margin-right: 0 !important; // todo: SimpleButton needs to get off of inline styles
      }
    }

    &__quoteWrapper {
      padding-top: 8px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    &__dremioLogo {
      flex-basis: 30%;
      height: 112px;
      width: 142px;
      position: absolute;
      right: 2.17%;
      bottom: 24%;
    }
    &__quoteBlock {
      display: flex;
      padding: 0px 8px;
      font-size: 13px;
      line-height: 16px;
      color: @font-color1;
    }
    &__quoteMessage {
      flex-basis: 60%;
      font-size: 12px;
      line-height: 16px;
      font-weight: normal;
      font-style: normal;
      min-height: 100px;
      color: @greyish-blue;
    }
  }
}